/**
 * Created by Panda on 16/01/2017
 */
(function () {
    'use strict';

    angular
        .module('com.akxx.aqzyk')
        .factory('_Course',_Course);


    /** @ngInject */
    function _Course(Resource) {
        return {
            SystemList:Resource("cocservice/query/tm_cm_course_sys"),
            AddSystem:Resource("cocservice/create/tm_cm_course_sys"),
            EditSystem:Resource("cocservice/update/tm_cm_course_sys"),
            VisitSystem:Resource("cocservice/get/tm_cm_course_sys"),
            DelSystem:Resource("cocservice/delete/tm_cm_course_sys"),

            CourseList:Resource("cocservice/query/tm_sm_student_info"),
            AddCourse:Resource("cocservice/create/tm_cm_course_info"),
            EditCourse:Resource("cocservice/update/tm_cm_course_info"),
            VisitCourse:Resource("cocservice/get/tm_cm_course_info"),
            DelCourse:Resource("cocservice/delete/tm_cm_course_info"),
        };
    }
})();
